[INFO] cloning repository https://github.com/markodj101/Tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markodj101/Tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkodj101%2FTetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkodj101%2FTetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c838026d1180d7f7bac6095ae8cd39a13b48da5
[INFO] checking markodj101/Tetris against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkodj101%2FTetris" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/markodj101/Tetris
[INFO] finished tweaking git repo https://github.com/markodj101/Tetris
[INFO] tweaked toml for git repo https://github.com/markodj101/Tetris written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/markodj101/Tetris on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/markodj101/Tetris already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 202496d2469bb69a0f9d1b540d44566ae59f45bfe212141103b45d6ecaf390d0
[INFO] running `Command { std: "docker" "start" "-a" "202496d2469bb69a0f9d1b540d44566ae59f45bfe212141103b45d6ecaf390d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "202496d2469bb69a0f9d1b540d44566ae59f45bfe212141103b45d6ecaf390d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "202496d2469bb69a0f9d1b540d44566ae59f45bfe212141103b45d6ecaf390d0", kill_on_drop: false }`
[INFO] [stdout] 202496d2469bb69a0f9d1b540d44566ae59f45bfe212141103b45d6ecaf390d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d6b503edcd1cd43c362ab1304122057f3180bbd31b6a9e07555052958c13862
[INFO] running `Command { std: "docker" "start" "-a" "8d6b503edcd1cd43c362ab1304122057f3180bbd31b6a9e07555052958c13862", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sdl2::sys::image::IMG_InitFlags_IMG_INIT_PNG`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::sys::image::IMG_InitFlags_IMG_INIT_PNG;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::sys::image::IMG_InitFlags_IMG_INIT_PNG`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::sys::image::IMG_InitFlags_IMG_INIT_PNG;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:55
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn write_into_file(content: &str, file_name: &str) -> io::Result<()> {
[INFO] [stdout]    |    ---------------                                    ^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 42 |     let mut f = File::create(file_name)?;
[INFO] [stdout] 43 |     f.write_all(content.as_bytes());
[INFO] [stdout]    |                                    - help: remove this semicolon to return this value
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), std::io::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:55
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn write_into_file(content: &str, file_name: &str) -> io::Result<()> {
[INFO] [stdout]    |    ---------------                                    ^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 42 |     let mut f = File::create(file_name)?;
[INFO] [stdout] 43 |     f.write_all(content.as_bytes());
[INFO] [stdout]    |                                    - help: remove this semicolon to return this value
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), std::io::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris` (bin "tetris" test) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris` (bin "tetris") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8d6b503edcd1cd43c362ab1304122057f3180bbd31b6a9e07555052958c13862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d6b503edcd1cd43c362ab1304122057f3180bbd31b6a9e07555052958c13862", kill_on_drop: false }`
[INFO] [stdout] 8d6b503edcd1cd43c362ab1304122057f3180bbd31b6a9e07555052958c13862
